.class public Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Lcom/waiqin365/lightapp/view/LabelViewH;

.field private e:Landroid/widget/LinearLayout;

.field private f:Landroid/widget/EditText;

.field private g:Lcom/waiqin365/lightapp/view/ImagePreview;

.field private h:Lcom/waiqin365/lightapp/kehu/b/am;

.field private i:Lcom/waiqin365/lightapp/salesJP/c/a;

.field private j:Lcom/waiqin365/compons/view/c;

.field private k:Lcom/waiqin365/compons/view/c;

.field private l:Landroid/os/Handler;

.field private m:Lcom/waiqin365/lightapp/view/DateViewNoClear;

.field private n:Z

.field private o:Ljava/lang/String;

.field private p:Ljava/lang/String;

.field private q:Ljava/util/ArrayList;


# direct methods
.method public constructor <init>()V
    .locals 2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->p:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->q:Ljava/util/ArrayList;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->o:Ljava/lang/String;

    return-object v0
.end method

.method private a()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/salesJP/g;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/salesJP/g;-><init>(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->l:Landroid/os/Handler;

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private b()V
    .locals 6

    const v3, 0x7f0806b1

    new-instance v0, Lcom/waiqin365/lightapp/salesJP/c/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/salesJP/c/a;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/salesJP/c/a;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/salesJP/c/a;->h:Ljava/lang/String;

    :cond_0
    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v1

    sget v2, Lcom/waiqin365/compons/view/c;->b:I

    invoke-direct {v0, p0, v1, v2, p0}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->j:Lcom/waiqin365/compons/view/c;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f08070c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    move-object v1, p0

    move-object v5, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->k:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->j:Lcom/waiqin365/compons/view/c;

    new-instance v1, Lcom/waiqin365/lightapp/salesJP/h;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/salesJP/h;-><init>(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->k:Lcom/waiqin365/compons/view/c;

    new-instance v1, Lcom/waiqin365/lightapp/salesJP/i;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/salesJP/i;-><init>(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private c()V
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "customer"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isSeniorVisit"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->n:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->n:Z

    if-eqz v0, :cond_0

    const-string/jumbo v0, "salesJP_sv_cache"

    :goto_0
    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->o:Ljava/lang/String;

    return-void

    :cond_0
    const-string/jumbo v0, "salesJP_cache"

    goto :goto_0
.end method

.method private d()V
    .locals 4

    const/4 v3, 0x0

    const v0, 0x7f0c0ac1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->a:Landroid/widget/ImageView;

    const v0, 0x7f0c0ac3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0806f4

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0ac7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    const v0, 0x7f0c0aa0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelViewH;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->d:Lcom/waiqin365/lightapp/view/LabelViewH;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->d:Lcom/waiqin365/lightapp/view/LabelViewH;

    const v1, 0x7f0801cb

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->d:Lcom/waiqin365/lightapp/view/LabelViewH;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->d:Lcom/waiqin365/lightapp/view/LabelViewH;

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setValue(Ljava/lang/String;)V

    :cond_0
    const v0, 0x7f0c0aa1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->m:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->m:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const v1, 0x7f0806fc

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->m:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setMustinput(Ljava/lang/String;)V

    const v0, 0x7f0c0aa2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->e:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0aa3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->f:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->f:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/salesJP/j;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/salesJP/j;-><init>(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    const v0, 0x7f0c0aa4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/ImagePreview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/ImagePreview;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    const v1, 0x7f080641

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0b001f

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setLabelColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/salesJP/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/salesJP/d/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/salesJP/d/a;->c()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setMaxPic(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/salesJP/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/salesJP/d/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/salesJP/d/a;->b()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setAllowSelect(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/salesJP/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/salesJP/d/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/salesJP/d/a;->d()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setPwidth(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    const v1, 0x7f0801ce

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setPhotoType(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setCustomerName(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->h:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->setCmLocation(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->n:Z

    return v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private e()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private f()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->o:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->j:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806f7

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->j:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview;->t()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/salesJP/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/salesJP/d/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/salesJP/d/a;->c()I

    move-result v1

    if-le v0, v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->j:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806fa

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->j:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->k:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->q:Ljava/util/ArrayList;

    return-object v0
.end method

.method private g()V
    .locals 4

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->n:Z

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "seniorVisitId"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/salesJP/c/a;->b:Ljava/lang/String;

    :cond_0
    new-instance v1, Lcom/waiqin365/lightapp/salesJP/b/a/c;

    iget-object v2, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v3, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->p:Ljava/lang/String;

    invoke-direct {v1, v0, v2, v3}, Lcom/waiqin365/lightapp/salesJP/b/a/c;-><init>(Ljava/lang/String;Lcom/waiqin365/lightapp/salesJP/c/a;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/salesJP/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->l:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/salesJP/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/salesJP/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/salesJP/b/b;->start()V

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->f:Landroid/widget/EditText;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v1, 0x0

    const/4 v5, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->j:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setEnabled(Z)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->f()V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->m:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightapp/salesJP/c/a;->l:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->f:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightapp/salesJP/c/a;->k:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->o:Ljava/lang/String;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/e/b;->d(Ljava/lang/String;)D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightapp/salesJP/c/a;->i:Ljava/lang/Double;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->o:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/salesJP/c/a;->n:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->clear()V

    if-eqz v0, :cond_1

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iget-object v3, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v3, v3, Lcom/waiqin365/lightapp/salesJP/c/a;->n:Ljava/util/List;

    new-instance v4, Lcom/waiqin365/lightapp/product/d/d;

    invoke-direct {v4, v0}, Lcom/waiqin365/lightapp/product/d/d;-><init>(Lcom/waiqin365/base/db/jxccache/g;)V

    invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->i:Lcom/waiqin365/lightapp/salesJP/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    iget-object v3, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/lightapp/salesJP/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/salesJP/d/a;

    move-result-object v3

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/salesJP/d/a;->g()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/ImagePreview;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightapp/salesJP/c/a;->j:Ljava/lang/String;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->k:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->q:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview;->t()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v2, Lcom/waiqin365/lightapp/kehu/b/o;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/kehu/b/o;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/salesJP/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/salesJP/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/salesJP/d/a;->f()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/lightapp/kehu/b/o;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/salesJP/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/salesJP/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/salesJP/d/a;->g()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/lightapp/kehu/b/o;->d:Ljava/lang/String;

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview;->h()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_2

    iget-object v3, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->q:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview;->h()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->g:Lcom/waiqin365/lightapp/view/ImagePreview;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/ImagePreview;->a(Lcom/waiqin365/lightapp/kehu/b/o;)V

    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.RUN"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-class v1, Lcom/fiberhome/upload/UpLoadService;

    invoke-virtual {v0, p0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    goto/16 :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->k:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setEnabled(Z)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0064 -> :sswitch_4
        0x7f0c0066 -> :sswitch_3
        0x7f0c0067 -> :sswitch_1
        0x7f0c0ac1 -> :sswitch_0
        0x7f0c0ac7 -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030203

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->setContentView(I)V

    const v0, 0x7f0c0ac9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/salesJP/SalesInfoActivityJP;->e()V

    return-void
.end method

.method protected onResume()V
    .locals 0

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/app/Activity;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    return-void
.end method
